package cn.stylefeng.guns.modular.gridsystem.model.param;

import cn.stylefeng.guns.core.pojo.base.param.BaseParam;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * 通道类型
 *
 * @author ssy
 * @date 2022/02/16 10:59
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class BizChannelTypeParam extends BaseParam {

    /**
     * id
     */
    @NotNull(message = "id不能为空",groups = {edit.class})
    private Integer id;

    /**
     * 通道类型编码
     */
    @NotNull(message = "通道类型编码不能为空",groups = {add.class,edit.class})
    private String code;

    /**
     * 类型名称
     */
    @NotNull(message = "类型名称不能为空",groups = {add.class,edit.class})
    private String name;

    /**
     * 图片
     */
    private String fileName;

    /**
     * 备注
     */
    private String remark;

    private String model;

}
